html
    body
        p: a.commit
        p: a#commit
        //- 下面两种的效果相同, <p><a class="commit first"></a></p>
        p: a.commit.first
        - var classes = ['commit','first'];
        p: a(class=classes)

        //- #{} 转义, !{} 非转义, 可以直接输出
        - var title = "On Dogs: Man's Best Friend";
        - var author = "enlore";
        - var theGreat = "<span>escape!</span>";
        h1= title
        p Written with love by #{author}
        p This will be safe: #{theGreat}
        p This will be safe: !{theGreat}

        //- 可以插入 js 代码, eg. toUpperCase
        - var msg = "hello world"
        p message is #{msg.toUpperCase()}

        //- #[] 标签插入
        p this is a link #[a(href="http://jade.terrynie.com")]

        //- 标签行内文本; 只需要将文本放在标签之后, 并用空格与标签隔开即可
        p this is a inline text in a tag
        //- 管道文本; 管道符出现在每行第一个非空格字符时, 改行就会被认为是文本
        | Plain text can include <strong>html</strong>
        p
            | It must always be on its own line
            | 可以是多行的
        //- 标签块文本; 将 . 符号紧跟在标签后即可
        script.
            if (usingJade)
              console.log('you are awesome')
            else
              console.log('use jade')
